package com.lbw.service.impl;

import com.lbw.entity.ScoreEntity;
import com.lbw.mapper.ScoreEntityMapper;
import com.lbw.service.ScoreEntityService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lbw
 * @since 2020-09-13
 */
@Service
public class ScoreEntityServiceImpl extends ServiceImpl<ScoreEntityMapper, ScoreEntity> implements ScoreEntityService {


    @Resource
    private ScoreEntityMapper scoreEntityMapper;
    /**
     * 展示分数列表
     * @param stuId 学生id
     * @return 返回分数列表
     */
    @Override
    public List<ScoreEntity> showScoreList(String stuId) {
        List<ScoreEntity> scoreEntityList = scoreEntityMapper.showScoreList(stuId);
        return scoreEntityList;
    }
}
